package com.fauks.ssm.mybatis.mapper;

import com.fauks.ssm.mybatis.bean.MStudent;

import java.util.List;

/**
 * 动态Sql
 */
public interface DynamicSqlMapper {
    /*if标签*/
    List<MStudent> getStuByIf(MStudent student);

    /*where标签*/
    List<MStudent> getStuByWhere(MStudent student);

    /*choose标签*/
    List<MStudent> getStuByChoose(MStudent student);

    /*foreach标签*/
    List<MStudent> getStuByForEach(int[] ids);

    List<MStudent> getStuByForEach2(List<MStudent> students);
}
